package array;
//翻转数组
public class Filp {
    public static void main(String[] args) {
        char[][] chunxiao = {
                {'春','眠','不','觉','晓'},
                {'处','处','闻','啼','鸟'},
                {'夜','来','风','雨','声'},
                {'花','落','知','多','少'}
        };
        for( int i = 0 ; i < chunxiao.length ; i++ ){
            for( int j = 0 ; j < chunxiao[0].length ; j++ ){
                System.out.print( chunxiao[ i ][ j ] + "\t" );
            }
            System.out.println("");
        }
        System.out.println("");
        for( int j = 0 ; j < chunxiao[0].length ; j++ ) {
            for( int i = chunxiao.length-1 ; i >= 0 ; i-- ){
                System.out.print( chunxiao[ i ][ j ] + "\t" );
            }
            System.out.println();
        }
    }

}
